import {UploadProps} from "element-plus"
import {FormRender} from "../../../index.ts"
import {ElUploadCustomerEvents, ElUploadCustomerExtend, ElUploadCustomerProps} from "./index.ts"

type ElUploadProps = ElUploadCustomerProps & UploadProps

type ElUploadEvents = ElUploadCustomerEvents

type ElUploadExtend = ElUploadCustomerExtend

export type ElUpload<Prop> = FormRender<'el-upload', Prop, ElUploadProps, ElUploadEvents> & ElUploadExtend